package com.ray.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ray.bean.AirFlowControlRelationTimeIntervalBean;

public interface AirFlowControlRelationTimeIntervalMapper {

	void insertAirFlowControlRelationTimeInterval(
			AirFlowControlRelationTimeIntervalBean airFlowControlRelationTimeIntervalBean);

	AirFlowControlRelationTimeIntervalBean getAirFlowControlRelationTimeInterval(
			@Param("temporalIntervalId") String temporalIntervalId,
			@Param("controlSwitchId") String controlSwitchId);

	List<AirFlowControlRelationTimeIntervalBean> getByAirFlowControl(
			@Param("controlSwitchId") String controlSwitchId);
	
	int delByAirFlowControl(@Param("airFlowControlId") String airFlowControlId);
	
}
